package com.mlc.mlcitems;

import org.bukkit.*;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.*;
import org.jetbrains.annotations.NotNull;
import static com.mlc.mlcitems.skills.arrow.smallfireball;


public class Mlctest implements CommandExecutor {


    @Override
    public boolean onCommand(@NotNull CommandSender commandSender, @NotNull Command command, @NotNull String s, @NotNull String @NotNull [] strings) {
        Player player = (Player) commandSender;
        Location location = ((Player) commandSender).getLocation();
        if(strings[0].equals("1")){
            smallfireball(player,location);
        }
        return false;
    }
}
